package com.hqyj.sale.service;

import com.hqyj.sale.model.SaleInfo;

import java.util.List;

public interface SaleInfoService {
    List<SaleInfo> queryAllSaleInfo();

    int updateSaleInfoBySaleInfo(SaleInfo saleInfo);

    int addSaleInfoBySaleInfo(SaleInfo saleInfo);

    int updateSaleInfoById(int id);

    SaleInfo querySaleInfoById(int id);

    List<SaleInfo> queryAllSaleInfoBySended();

    int deleteSaleInfoById(int id);

    int insertOutRepertoryByProductInfo(String productName, Integer saleAmount, String type);
}
